//
//  NSError+XWXError.h
//  panPanShiWan
//
//  Created by Mr_hi on 2020/6/6.
//  Copyright © 2020 许得诺言. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSError (XWXError)

/**
失败
 失败的请求地址 error.userInfo[@"NSErrorFailingURLKey"]
 中文提示语 error.localizedDescription
*/
+ (NSError *)returnErrorWithError:(NSError *)error;


@end

NS_ASSUME_NONNULL_END
